home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 5 Apr 1996 10:41:12 +0200
  6. Organization: dis-
  7. Message-ID: <4k2mb8$d3@serpens.rhein.de>
  8. References: <sysop.02vc@sweetdreams.lahn.de>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. sysop@sweetdreams.lahn.de (Matthias Bethke) writes:
  12.  
  13. >Wasn't it you who told me that there's no OS rule telling a programmer to
  14. >allocate a FileInfoBlock with AllocDosObject() instead of just writing
  15. >someting like "static struct FileInfoBlock fib;"?
  16.  
  17. I was telling you that there is no such rule because it would break
  18. old programs.
  19.  
  20. >you *should* use AllocDosObject since OS2.0. If the structure *will* actually
  21. >grow, all programs with a "hardcoded" FileInfoBlock will probably fail.
  22.  
  23. Correct.
  24.  
  25. >Same
  26. >with FindTask(), of course one was *supposed* to use it, but software using
  27. >the other (legal!) alternative,
  28.  
  29. No. It is not legal because there always was a function. AllocDosObject
  30. is new.
  31.  
  32. -- 
  33.                                 Michael van Elst
  34.  
  35. Internet: mlelstv@serpens.rhein.de
  36.                                 "A potential Snark may lurk in every tree."
  37.